package net.yunzhanyi.client.config;

import net.yunzhanyi.common.web.util.encoder.BCryptPasswordEncoder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author qiuxin
 * @code SecurityConfig
 * @date 2022/4/6
 * description：
 */
@Configuration
public class SecurityConfig {

    /**
     * 强散列哈希加密实现
     */
    @Bean
    public BCryptPasswordEncoder bCryptPasswordEncoder() {
        return new BCryptPasswordEncoder();
    }

}
